package com.app.teaware.bean;



import com.alibaba.fastjson.annotation.JSONField;

import java.util.ArrayList;
import java.util.List;

public class UserListBean extends BaseListBean {

    private List<UserListData> list = new ArrayList<UserListData>();

    public List<UserListData> getList() {
        return list;
    }

    public void setList(List<UserListData> list) {
        this.list = list;
    }

    @JSONField(serialize = false)
    public void addListBean(UserListBean listbean) {
        if (listbean == null)
            return;
        if (this.getCurrentPage() == INIT_PAGE) {
            setList(listbean.getList());
        } else {
            if (list == null)
                list = new ArrayList<UserListData>();
            list.addAll(listbean.getList());
        }
        setListBeanData(listbean);
    }



}
